package com.itheima02.Day09;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 刘全
 * @date 2021/7/25
 */
public class Test1 {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("hhh");
        list.add("aaa");
        list.add("bbb");
        System.out.println(list);
        list.remove(1);
        System.out.println(list);
        list.set(1, "ccc");
        System.out.println(list);
    }
}
